package com.ykt.mall.pageModel;

import java.io.Serializable;
import java.util.Date;

public class LoginInfo implements Serializable {

	private static final long serialVersionUID = 1L;
	
	public String ip;
	/**用户id*/
	public Integer userId;
	/**登录时间*/
	public Date loginTime=new Date();
	
	public LoginInfo(){
	}
	public LoginInfo(String ip,Integer userId,Date loginTime){
		this.ip=ip;
		this.userId=userId;
		if(loginTime!=null)
		this.loginTime=loginTime;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Date getLoginTime() {
		return loginTime;
	}
	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}
	
}	
